home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload Trio 2 / Shareware Overload Trio Volume 2 (Chestnut CD-ROM).ISO / dir31 / dsond131.zip / DSOUND.DOC < prev    next >
Text File  |  1994-03-06  |  2KB  |  58 lines

  1.  
  2.                 DSound V1.31
  3.  
  4.      DSound is Copyright 1991-1993 by Dave Schreiber, All Rights Reserved.
  5. This program is freely distributable, but may not be sold (although a small
  6. fee for copying, media, etc. may be charged).
  7.  
  8.      DSound is utility I whipped together to play 8SVX sound samples
  9. directly off a hard drive.  While it only takes up a small amount of chip
  10. RAM, it can play samples of unlimited size off a hard drive (it doesn't
  11. work to well with floppies however). Currently, it cannot play compressed
  12. sound files.
  13.  
  14.      DSound can only be used from the hard drive.  To use DSound, type
  15. "DSound [flags] <filename>" (without the quotes), where <filename> is the
  16. name of the file that you want to play, and [flags] are any of the flags
  17. listed below under "Usage."  To stop DSound before a sample is finished
  18. playing, either click on the close gadget in the DSound window (which is
  19. displayed while DSound is playing a sound sample, unless the '-w' flag is
  20. used), press CTRL-C in the Shell window from which DSound was started, or
  21. type "break <clinum>", where <clinum> is the number of the Shell window
  22. that DSound is running in.
  23.  
  24. Usage:
  25.    dsound [-l][-r][-2][-f][-m][-o][-w][-n][-t]
  26.                   [-s<speed>][-v<volume>][-b<bufsize>] file
  27.  
  28. Where the flags are defined as such:
  29.   -l -- Play the sample using the left speaker
  30.   -r -- Play the sample using the right speaker
  31.   -2 -- Play the sample using both speakers
  32.   -f -- Shut off the low-pass filter
  33.   -m -- Load the entire sample into memory
  34.   -o -- Play the sample continuously (loop)
  35.   -w -- Do not open the DSound window
  36.   -n -- Do not show the sample name in the window
  37.   -t -- Do not show the sample times in the window
  38.   -s<speed> -- Play the sample at the given speed (samples/sec)
  39.   -v<volume> -- Play the sample at the given volume (0-64)
  40.   -b<bufsize> -- Use a buffer of size <bufsize> (default is 30K)
  41.  
  42. If you don't specify any flags, the defaults are to play the sound out of
  43. the first available speaker, with the filter on, at the speed and volume
  44. specified in the soundfile.
  45.  
  46. I've included the source for DSound.  To compile (using SAS/C V6) type:
  47.    smake
  48.  
  49. If you have any questions, comments, etc. regarding DSound, you can get in
  50. touch with me at:
  51.  
  52.                          Dave Schreiber
  53.                          1234 Collins Lane
  54.                          San Jose, CA   95129-4208
  55.  
  56. e-mail:                      davids@cse.ucsc.edu
  57.  
  58.